import React from 'react'
import ReactDOM from 'react-dom/client'
import "antd/dist/reset.css";
import "@/style/index.less";
import "@/assets/fonts/font.less";
import "@/assets/iconfont/iconfont.less";
import '@icon-park/react/styles/index.css';
import App from './App.tsx'
import {store, persist} from "@/store";
import {Provider} from "react-redux";
import {PersistGate} from "redux-persist/integration/react";


ReactDOM.createRoot(document.getElementById('root')! as HTMLElement).render(
    <Provider store={store}>
        <PersistGate persistor={persist}>
            <App/>
        </PersistGate>
    </Provider>
)
